﻿using System;
using System.Collections.Generic;

namespace ARC.AliYun.SMSService.Models
{
    /// <summary>
    /// 查询发送短信记录
    /// </summary>
    public class QuerySendSmsDetails
    {
        public string Code { get; set; }
        public string Message { get; set; }
        public string RequestId { get; set; }
        public SmsSendDetailDtoList SmsSendDetailDTOs { get; set; }
        public string TotalCount { get; set; }

    }

    public class SmsSendDetailDtoList
    {
        public List<SmsSendDetailDto> SmsSendDetailDto { get; set; }
    }
    /// <summary>
    /// 发送短信记录明细
    /// </summary>
    public class SmsSendDetailDto
    {
        /// <summary>
        /// 
        /// </summary>
        public string TemplateCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime ReceiveDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PhoneNum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int SendStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime SendDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ErrCode { get; set; }

    }
    /// <summary>
    /// 短信状态
    /// </summary>
    public enum Digital
    {
        WaitingForReceipt = 1,//等待回执
        FailInSend = 2,//发送失败
        SuccessInSend = 3 //发送成功
    }
}
